<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>cutex: cutex::QxCrypt Klassenreferenz</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="logo.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">cutex
   </div>
   <div id="projectbrief">cute Qt extensions</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Erzeugt von Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Suchen','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Suchen');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('classcutex_1_1_qx_crypt.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-static-methods">Öffentliche, statische Methoden</a> &#124;
<a href="#pri-static-attribs">Statische, private Attribute</a> &#124;
<a href="classcutex_1_1_qx_crypt-members.html">Aufstellung aller Elemente</a>  </div>
  <div class="headertitle">
<div class="title">cutex::QxCrypt Klassenreferenz</div>  </div>
</div><!--header-->
<div class="contents">

<p>Mit der Klasse QxCrypt können Zeichenketten ver- und entschlüsselt werden.  
 <a href="classcutex_1_1_qx_crypt.html#details">Mehr ...</a></p>

<p><code>#include &lt;<a class="el" href="qxcrypt_8h_source.html">qxcrypt.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
Öffentliche, statische Methoden</h2></td></tr>
<tr class="memitem:ad0f36586519fe7e02f9ad2aee5610d6b"><td class="memItemLeft" align="right" valign="top">static QByteArray&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcutex_1_1_qx_crypt.html#ad0f36586519fe7e02f9ad2aee5610d6b">encrypt</a> (const QByteArray &amp;text, const QByteArray &amp;key=CRYPT_KEY)</td></tr>
<tr class="separator:ad0f36586519fe7e02f9ad2aee5610d6b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a74eed6cf75a3b41776515cd03456344f"><td class="memItemLeft" align="right" valign="top">static QByteArray&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcutex_1_1_qx_crypt.html#a74eed6cf75a3b41776515cd03456344f">decrypt</a> (const QByteArray &amp;text, const QByteArray &amp;key=CRYPT_KEY)</td></tr>
<tr class="separator:a74eed6cf75a3b41776515cd03456344f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2f6b93ed59d98d4e0b5c227289ef59f5"><td class="memItemLeft" align="right" valign="top">static QString&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcutex_1_1_qx_crypt.html#a2f6b93ed59d98d4e0b5c227289ef59f5">encrypt</a> (const QString &amp;text, const QByteArray &amp;key=CRYPT_KEY)</td></tr>
<tr class="separator:a2f6b93ed59d98d4e0b5c227289ef59f5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a093226f660b56bb270f9830d85bc8809"><td class="memItemLeft" align="right" valign="top">static QString&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcutex_1_1_qx_crypt.html#a093226f660b56bb270f9830d85bc8809">decrypt</a> (const QString &amp;text, const QByteArray &amp;key=CRYPT_KEY)</td></tr>
<tr class="separator:a093226f660b56bb270f9830d85bc8809"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-static-attribs"></a>
Statische, private Attribute</h2></td></tr>
<tr class="memitem:a7321f1cec0fc56714ffa46684e993b36"><td class="memItemLeft" align="right" valign="top"><a id="a7321f1cec0fc56714ffa46684e993b36"></a>
static const QByteArray&#160;</td><td class="memItemRight" valign="bottom"><b>CRYPT_KEY</b> = &quot;XHRILVJ7HFMBAK5YNJZG&quot;</td></tr>
<tr class="separator:a7321f1cec0fc56714ffa46684e993b36"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Ausführliche Beschreibung</h2>
<div class="textblock"><p>Mit der Klasse QxCrypt können Zeichenketten ver- und entschlüsselt werden. </p>
<p>Die Klasse stellt verschiedene statische Methoden zum ver- und entschlüsseln von Zeichenketten bereit. Dabei wird nur ein einfacher Algorithmus verwendet, weshalb die Klasse nicht zum verschlüsseln sensibler Daten geeignet ist. </p>
</div><h2 class="groupheader">Dokumentation der Elementfunktionen</h2>
<a id="a74eed6cf75a3b41776515cd03456344f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a74eed6cf75a3b41776515cd03456344f">&#9670;&nbsp;</a></span>decrypt() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">QByteArray QxCrypt::decrypt </td>
          <td>(</td>
          <td class="paramtype">const QByteArray &amp;&#160;</td>
          <td class="paramname"><em>text</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QByteArray &amp;&#160;</td>
          <td class="paramname"><em>key</em> = <code>CRYPT_KEY</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Entschlüsselt die Zeichenkette <em>text</em> mit dem Schlüssel <em>key</em>. Dabei muss derselbe Schlüssel verwendet werden, mit dem die Zeichenkette vorher verschlüsselt wurde. Wird kein Schlüssel angegeben, verwendet die Methode den Standardschlüssel <em>CRYPT_KEY</em>.</p>
<dl class="section see"><dt>Siehe auch</dt><dd><a class="el" href="classcutex_1_1_qx_crypt.html#ad0f36586519fe7e02f9ad2aee5610d6b">encrypt(const QByteArray &amp;text, const QByteArray &amp;key)</a> </dd></dl>

</div>
</div>
<a id="a093226f660b56bb270f9830d85bc8809"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a093226f660b56bb270f9830d85bc8809">&#9670;&nbsp;</a></span>decrypt() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">QString QxCrypt::decrypt </td>
          <td>(</td>
          <td class="paramtype">const QString &amp;&#160;</td>
          <td class="paramname"><em>text</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QByteArray &amp;&#160;</td>
          <td class="paramname"><em>key</em> = <code>CRYPT_KEY</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Entschlüsselt die Zeichenkette <em>text</em> mit dem Schlüssel <em>key</em>. Dabei muss derselbe Schlüssel verwendet werden, mit dem die Zeichenkette vorher verschlüsselt wurde. Wird kein Schlüssel angegeben, verwendet die Methode den Standardschlüssel <em>CRYPT_KEY</em>.</p>
<dl class="section see"><dt>Siehe auch</dt><dd><a class="el" href="classcutex_1_1_qx_crypt.html#a2f6b93ed59d98d4e0b5c227289ef59f5">encrypt(const QString &amp;text, const QByteArray &amp;key)</a> </dd></dl>

</div>
</div>
<a id="ad0f36586519fe7e02f9ad2aee5610d6b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad0f36586519fe7e02f9ad2aee5610d6b">&#9670;&nbsp;</a></span>encrypt() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">QByteArray QxCrypt::encrypt </td>
          <td>(</td>
          <td class="paramtype">const QByteArray &amp;&#160;</td>
          <td class="paramname"><em>text</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QByteArray &amp;&#160;</td>
          <td class="paramname"><em>key</em> = <code>CRYPT_KEY</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Verschlüsselt die Zeichenkette <em>text</em> mit dem Schlüssel <em>key</em>. Wird kein Schlüssel angegeben, verwendet die Methode den Standardschlüssel <em>CRYPT_KEY</em>.</p>
<dl class="section see"><dt>Siehe auch</dt><dd><a class="el" href="classcutex_1_1_qx_crypt.html#a74eed6cf75a3b41776515cd03456344f">decrypt(const QByteArray &amp;text, const QByteArray &amp;key)</a> </dd></dl>

</div>
</div>
<a id="a2f6b93ed59d98d4e0b5c227289ef59f5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2f6b93ed59d98d4e0b5c227289ef59f5">&#9670;&nbsp;</a></span>encrypt() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">QString QxCrypt::encrypt </td>
          <td>(</td>
          <td class="paramtype">const QString &amp;&#160;</td>
          <td class="paramname"><em>text</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QByteArray &amp;&#160;</td>
          <td class="paramname"><em>key</em> = <code>CRYPT_KEY</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Verschlüsselt die Zeichenkette <em>text</em> mit dem Schlüssel <em>key</em>. Wird kein Schlüssel angegeben, verwendet die Methode den Standardschlüssel <em>CRYPT_KEY</em>.</p>
<dl class="section see"><dt>Siehe auch</dt><dd><a class="el" href="classcutex_1_1_qx_crypt.html#a093226f660b56bb270f9830d85bc8809">decrypt(const QString &amp;text, const QByteArray &amp;key)</a> </dd></dl>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><b>cutex</b></li><li class="navelem"><a class="el" href="classcutex_1_1_qx_crypt.html">QxCrypt</a></li>
    <li class="footer">Erzeugt von <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1 </li>
  </ul>
</div>
</body>
</html>
